﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NBFCommon
{
    public class NBF_Config
    {
        /// <summary>
        /// MD5加密并返回相应字符
        /// </summary>
        /// <param name="str"></param>
        /// <returns></returns>
        public static string getMd5(string str)
        {
            return (System.Web.Security.FormsAuthentication.HashPasswordForStoringInConfigFile(str, "md5"));
        }

    }
}
